package com.guigu.dao;

import com.guigu.bean.Idea;
import com.guigu.bean.IdeaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface IdeaMapper {
    int countByExample(IdeaExample example);

    int deleteByExample(IdeaExample example);

    int deleteByPrimaryKey(Integer ideaid);

    int insert(Idea record);

    int insertSelective(Idea record);

    List<Idea> selectByExample(IdeaExample example);
    
    List<Idea>seleIdeasByDate(String vagueIdeaTime);
    
    List<Idea>seleIdeasByShare(String share);

    Idea selectByPrimaryKey(Integer ideaid);

    int updateByExampleSelective(@Param("record") Idea record, @Param("example") IdeaExample example);

    int updateByExample(@Param("record") Idea record, @Param("example") IdeaExample example);

    int updateByPrimaryKeySelective(Idea record);

    int updateByPrimaryKey(Idea record);
}